

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './views/Navigation_Page.vue'
import router from './router'


const apiUrl = import.meta.env.VITE_API_URL;
const mode = import.meta.env.MODE;

console.log(`API URL: ${apiUrl}`);
console.log(`Mode: ${mode}`);

if (import.meta.env.DEV) {
  console.log('This is a development environment.');
}

if (import.meta.env.PROD) {
  console.log('This is a production environment.');
}

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')
